{"componentChunkName":"component---src-templates-post-jsx","path":"/[스프링입문]1/","result":{"data":{"site":{"siteMetadata":{"title":"SUbbb"}},"markdownRemark":{"id":"dff670de-9a25-5abe-9b4f-84af280c0807","excerpt":"스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술을 들으며 정리하는 POST입니다. 전체적인 흐름 Spring Project 생성 Spring boot로 웹 서버 실행 회원 도메인 개발 웹 MVC 개발 DB 연동 - JDBC, JPA, Spring data JPA 테스트 케이스 작성 🔍 프로젝트 생성 ⛏ 사전 준비 JAVA 11 I…","html":"<p><em><strong><a href=\"https://www.inflearn.com/course/%EC%8A%A4%ED%94%84%EB%A7%81-%EC%9E%85%EB%AC%B8-%EC%8A%A4%ED%94%84%EB%A7%81%EB%B6%80%ED%8A%B8\">스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술</a>을 들으며 정리하는 POST입니다.</strong></em></p>\n<blockquote>\n<p><strong>전체적인 흐름</strong></p>\n<ul>\n<li>Spring Project 생성</li>\n<li>Spring boot로 웹 서버 실행</li>\n<li>회원 도메인 개발</li>\n<li>웹 MVC 개발</li>\n<li>DB 연동 - JDBC, JPA, Spring data JPA</li>\n<li>테스트 케이스 작성</li>\n</ul>\n</blockquote>\n<h2>🔍 프로젝트 생성</h2>\n<h3>⛏ 사전 준비</h3>\n<ul>\n<li>JAVA 11</li>\n<li>IDE: IntelliJ or Eclipse</li>\n</ul>\n<p><strong>Springboot Starter를 사용하여 프로젝트 생성</strong>\n→ <a href=\"https://start.spring.io\">https://start.spring.io</a></p>\n<ul>\n<li>\n<p><strong>Project: 어떤 빌드 관리 도구를 사용할 것인가 ?</strong></p>\n<ul>\n<li>\n<p>Maven: 필요한 라이브러리를 땡겨오고 빌드하는 lifecycle까지 관리하는 빌드 관리 도구</p>\n<ul>\n<li>라이브러리 수가 많아지면, 빌드 시간이 오래 걸릴 수 밖에 없다.</li>\n</ul>\n</li>\n<li>\n<p>Gradle: Maven과 다르게, 필요한 라이브러리에 대한 설정 파일(xml파일)의 코드가 매우 간결한 빌드 관리 도구</p>\n<ul>\n<li>최근 많이 사용</li>\n<li>\n<p>이미 업데이트가 반영된 부분은 다시 빌드하지 않기에 빌드 시간이 maven에 비해 적어지게 된다.</p>\n<blockquote>\n<p><strong>빌드 관리 도구란 ?</strong>\n프로젝트에서 작성한 파일들을 JVM이나 WAS에서 인식할 수 있도록 패키징해주는 도구</p>\n</blockquote>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><strong>Project Spring Boot</strong>: 2.5.6</li>\n<li><strong>Language</strong>: Java </li>\n<li>Group: 보통 기업 도메인명</li>\n<li>Artifact: 빌드되어 나오는 결과물, 프로젝트명</li>\n<li>\n<p><strong><span id=\"packaging\">Packaging</span>: 어떤 패키징 방식을 사용할 것인가 ?</strong></p>\n<ul>\n<li>\n<p>Jar(Java Archieve): Java application이 동작할 수 있도록 패키징하는 방식</p>\n<ul>\n<li>JRE만 있어도 실행이 가능하다.</li>\n</ul>\n</li>\n<li>\n<p>War(Web Application Archieve): Web application 전체를 패키징하는 방식</p>\n<ul>\n<li>별도의 Web Server 또는 WAS가 필요하다.</li>\n</ul>\n</li>\n</ul>\n</li>\n<li>Java: 11</li>\n<li>\n<p><strong>Dependencies: 어떤 라이브러리를 사용할 것인가 ?</strong></p>\n<ul>\n<li>Spring Web(Embedded Tomcat 추가를 위함, Web 프로젝트 생성 시 필수)</li>\n<li>Thymeleaf(Controller가 전달하는 Data를 이용하여 HTML을 꾸밀 수 있도록 하는 Template Engine)</li>\n<li>추가적으로, lombok(Annotation을 이용해 Compile 시점에 Getter, Setter, 생성자, toString, Builder 등을 자동으로 만들어주는 라이브러리)</li>\n</ul>\n</li>\n</ul>\n<p><img src=\"https://images.velog.io/images/bsu1209/post/03dcea8e-00c1-4214-b9e0-6ad2806ec2ca/%E1%84%89%E1%85%B3%E1%84%8F%E1%85%B3%E1%84%85%E1%85%B5%E1%86%AB%E1%84%89%E1%85%A3%E1%86%BA%202021-11-05%20%E1%84%8B%E1%85%A9%E1%84%92%E1%85%AE%208.07.23.png\">\n이후 <code class=\"language-text\">GENERATE</code>로 .zip 파일을 다운로드한 후, unzip 한 파일을 <code class=\"language-text\">IntelliJ</code> 로 <strong>OPEN</strong></p>\n<blockquote>\n<p>Project open시, 외부의 library를 로딩하는 과정이 필요하기 때문에, 시간이 좀 걸릴 수 있다.</p>\n</blockquote>\n<h3>⛏ 프로젝트 구조</h3>\n<p align='center'><img src='https://images.velog.io/images/bsu1209/post/dfba1b83-83d3-41f0-a194-f2f761440ae4/image.png' width='50%' height='30%'></p>\n<p><strong><code class=\"language-text\">src</code></strong></p>\n<ul>\n<li>\n<p><code class=\"language-text\">main</code>, <code class=\"language-text\">test</code> 로 나뉜다.</p>\n<ul>\n<li><code class=\"language-text\">main/java</code> 에 실제 패키지들과 소스 파일이 존재</li>\n<li><code class=\"language-text\">main/resources</code> 에는 설정 파일들이 존재, java 파일을 제외한 모든 파일</li>\n<li>\n<p><code class=\"language-text\">test/java</code> 에 test 관련 코드들이 존재</p>\n<ul>\n<li>이는 곧 <strong>TEST라는 것이 매우 중요한 존재</strong>임을 알려준다.</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<p><strong><code class=\"language-text\">build.gradle</code></strong></p>\n<deckgo-highlight-code language=\"java\" terminal=\"carbon\" theme=\"a11y-dark\" line-numbers=\"true\"  >\n          <code slot=\"code\">plugins {\n\tid &#39;org.springframework.boot&#39; version &#39;2.5.6&#39; // starter에서 선택한 버전\n\tid &#39;io.spring.dependency-management&#39; version &#39;1.0.11.RELEASE&#39;\n\tid &#39;java&#39; // 선택한 언어\n}\n\n// Metadata\ngroup = &#39;hello&#39;\nversion = &#39;0.0.1-SNAPSHOT&#39;\nsourceCompatibility = &#39;11&#39; // java version\n\n// 아래에 선택한 library를 다운로드받는 곳, 필요하면 특정 사이트 url 지정 가능\nrepositories {\n\tmavenCentral() // \n}\n\n// 선택한 library들\ndependencies {\n\timplementation &#39;org.springframework.boot:spring-boot-starter-thymeleaf:2.5.6&#39;\n\timplementation &#39;org.springframework.boot:spring-boot-starter-web:2.5.6&#39;\n\ttestImplementation &#39;org.springframework.boot:spring-boot-starter-test:2.5.6&#39;\n}\n\ntest {\n\tuseJUnitPlatform()\n}</code>\n        </deckgo-highlight-code>\n<p>이제 <code class=\"language-text\">src/main/java/hello.hellospring</code> 안에 있는 메인 코드를 실행시켜보자.\n<img src='https://images.velog.io/images/bsu1209/post/51434c13-238d-455c-8c8a-8f06c1f87018/image.png'></p>\n<p>실행한 후, <a href=\"http://localhost:8080\">http://localhost:8080</a> 으로 접속해보자.\n<img src='https://images.velog.io/images/bsu1209/post/6c5ab164-d198-480e-bec1-e89b630b3e2d/image.png'></p>\n<p>아직은 아무런 View를 구성하지 않았기에, 위와 같은 화면이 뜨게 된다.</p>\n<hr>\n<h2>🔍 라이브러리 살펴보기</h2>\n<p>프로젝트안의 <code class=\"language-text\">build.gradle</code> 을 보면, 아래와 같이 스타터로 프로젝트 생성할 때 추가했던 3개의 라이브러리들을 확인할 수 있다.</p>\n<deckgo-highlight-code language=\"java\" terminal=\"carbon\" theme=\"a11y-dark\" line-numbers=\"true\"  >\n          <code slot=\"code\">dependencies {\n\timplementation &#39;org.springframework.boot:spring-boot-starter-thymeleaf:2.5.6&#39;\n    implementation &#39;org.springframework.boot:spring-boot-starter-web:2.5.6&#39;\n    testImplementation &#39;org.springframework.boot:spring-boot-starter-test:2.5.6&#39;\n}</code>\n        </deckgo-highlight-code>\n<p>그리고, <code class=\"language-text\">External Libraries</code> 에서는 프로젝트 생성 시 땡겨온 라이브러리들을 확인할 수 있는데, 처음에 추가했던 <strong>3개의 라이브러리보다 훨씬 더 많은 수의 라이브러리가 땡겨와진 것을 확인</strong>할 수 있다. </p>\n<p>이러한 이유는 우리가 사용하기 위해 추가한 3개의 라이브러리도 동작하기 위해서는 필요한 다른 라이브러리들이 존재한다. <strong>Gradle</strong>은 이러한 <strong>추가적인 라이브러리를 자동으로 <code class=\"language-text\">External Libraries</code> 에 추가</strong>해주기 때문에 많은 라이브러리들이 추가되어 있는 것이다.</p>\n<img src='https://images.velog.io/images/bsu1209/post/998b6f57-ec6d-4fd8-9c4b-cb0e7e6144d0/image.png' width='70%'>\n<p>위 화면에서 보이듯, <strong>Gradle > hello-spring > Dependencies</strong>에서 라이브러리간의 의존관계를 확인할 수 있다.</p>\n<p>여기서 중요한 라이브러리로는 먼저 <code class=\"language-text\">spring-boot-starter-tomcat</code> 라이브러리가 있는데, 이는 Spring boot가 톰캣 웹서버를 내장되어 있기 때문에 존재하는 라이브러리이다.\n또한, <code class=\"language-text\">spring-boot-starter-logging</code> 이라는 것이 있는데, 이는 서버 개발자들이 어떠한 에러들을 출력하고 한 눈에 모아서 보기 위해 사용하는 것이다. 내부에는 <code class=\"language-text\">logback</code>, <code class=\"language-text\">slf4j</code> 라는 라이브러리가 내장되어 있다.</p>\n<hr>\n<h2>🔍 View 환경설정</h2>\n<p>현재 서버를 실행하고 <a href=\"http://localhost:8080\">http://localhost:8080</a> 으로 접속하면, 아까 위에서 본 <a href=\"#firstP\">화면</a>이 뜬다.</p>\n<p>이제 화면 구성을 한 번 해보도록 하자.</p>\n<h3>⛏ Welcome Page</h3>\n<p><strong>resources/static/index.html</strong><br/>\n을 생성하게 되면, 이를 자동으로 <strong>welcome page</strong>로 설정해준다. 이는 <strong>정적 페이지</strong>로서, 작성한 코드를 그대로 브라우저에 던져주는 것이다.</p>\n<deckgo-highlight-code language=\"html\" terminal=\"carbon\" theme=\"a11y-dark\" line-numbers=\"true\"  >\n          <code slot=\"code\">&lt;!-- index.html --&gt;\n&lt;!DOCTYPE HTML&gt;\n&lt;html&gt;\n&lt;head&gt;\n    &lt;title&gt;Hello&lt;/title&gt;\n    &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;\n&lt;/head&gt;\n&lt;body&gt;\n    Hello\n    &lt;a href=&quot;/hello&quot;&gt;hello&lt;/a&gt;\n&lt;/body&gt;\n&lt;/html&gt;</code>\n        </deckgo-highlight-code>\n<p>코드를 작성하고 서버를 재시작하면, 아래의 화면을 볼 수 있을 것이다.</p>\n<img src='https://images.velog.io/images/bsu1209/post/85ba87cc-a09b-4643-83cf-052ec6f022f7/image.png' width='80%'>\n<blockquote>\n<p>Spring은 그 생태계가 어마어마하게 크기 때문에, 머릿속에 모든 것을 다 넣을 수는 없다.\n따라서, 원하는 것을 잘 찾는 능력이 필요하다.\n<a href=\"https://docs.spring.io/spring-boot/docs/current/reference/html/\">https://docs.spring.io/spring-boot/docs/current/reference/html/</a>\n위 홈페이지에서 관련 문서를 찾아보도록 하자.</p>\n</blockquote>\n<p>위 홈페이지에서, <a href=\"https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.developing-web-applications.spring-mvc.welcome-page\"><strong>Welcome page</strong>에 대한 설명</a>을 찾아보았다.\n설명을 가져오자면, 스프링 부트는 static &#x26; templated welcome page 모두 지원한다. 먼저 <code class=\"language-text\">static/index.html</code> 을 찾고, 없다면 <code class=\"language-text\">template/index.html</code> 을 찾아 <strong>Welcome Page</strong>로서 사용한다.</p>\n<p><strong>resources/templates</strong><br/>\n<code class=\"language-text\">static</code> 과 다른 동적 페이지를 구성하는데 사용한다. 여기서 우리는 처음에 추가했던 <strong>thymeleaf</strong> 라는 템플릿 엔진을 사용할 것이다.\n이와 관련된 문서로는 <a href=\"https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.developing-web-applications.spring-mvc.template-engines\">여기</a>를 참고하면 된다.\n스프링 부트는 <strong>FreeMarker, Groovy, Thymeleaf, Mustache</strong>의 총 4개의 템플릿 엔진에 대한 auto-configuration 지원을 한다.</p>\n<blockquote>\n<p>auto-configuration이란?</p>\n</blockquote>\n<p>이제, 실제로 동작하고, 프로그래밍이 되는 화면을 구현해보도록 하자.</p>\n<img src='https://images.velog.io/images/bsu1209/post/cb9d6ff7-d0fd-41ec-b791-8b94c0fb17f9/image.png' width='50%'>\n<p>먼저, <code class=\"language-text\">src/main/java/hello.hellospring</code> 에 <code class=\"language-text\">controller</code> 라는 <strong>Package</strong>를 생성한다. 이후 <code class=\"language-text\">HelloController</code> 라는 <strong>Class</strong>를 생성한다.</p>\n<deckgo-highlight-code language=\"java\" terminal=\"carbon\" theme=\"a11y-dark\" line-numbers=\"true\"  >\n          <code slot=\"code\">// HelloController\npackage hello.hellospring.controller;\n\nimport org.springframework.stereotype.Controller;\n\n@Controller\npublic class HelloController {\n    \n}</code>\n        </deckgo-highlight-code>\n<p>이때, <code class=\"language-text\">@Controller</code> 라는 <strong>Annotation</strong>이 필요한데, 이는 일종의 메타데이터로서, 컴파일러가 특정 오류를 억제하도록 지시하는 것과 같이 프로그램 코드의 일부가 아닌 프로그램에 관한 데이터를 제공, 코드에 정보를 추가하는데 사용된다. <a href=\"https://palyoung.tistory.com/72\">참고</a></p>\n<deckgo-highlight-code language=\"java\" terminal=\"carbon\" theme=\"a11y-dark\" line-numbers=\"true\"  >\n          <code slot=\"code\">@Controller\npublic class HelloController {\n\n    @GetMapping(&quot;hello&quot;)\n    public String Hello(Model model) {\n\n    }\n}</code>\n        </deckgo-highlight-code>\n<p>클래스 안에 <code class=\"language-text\">@GetMapping(\"hello\")</code> 는 Web application에서 \"/hello\"가 들어오면, <code class=\"language-text\">Hello(Model model)</code> 을 실행하도록 한다. 여기서 model은 Model, View, Controller의 model이고, Get은 Get or Post method를 의미한다.</p>\n<deckgo-highlight-code language=\"java\" terminal=\"carbon\" theme=\"a11y-dark\" line-numbers=\"true\"  >\n          <code slot=\"code\">@GetMapping(&quot;hello&quot;)\npublic String Hello(Model model) {\n    model.addAttribute(&quot;data&quot;, &quot;hello!!!&quot;);\n    return &quot;hello&quot;;\n}</code>\n        </deckgo-highlight-code>\n<deckgo-highlight-code language=\"html\" terminal=\"carbon\" theme=\"a11y-dark\" line-numbers=\"true\"  >\n          <code slot=\"code\">&lt;!-- resources/templates/hello.html --&gt;\n&lt;!DOCTYPE HTML&gt;\n&lt;html xmlns:th=&quot;http://www.thymeleaf.org&quot;&gt;\n&lt;head&gt;\n    &lt;title&gt;Hello&lt;/title&gt;\n    &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;\n&lt;/head&gt;\n&lt;body&gt;\n    &lt;p th:text=&quot;&#39;안녕하세요. &#39; + ${data}&quot; &gt;안녕하세요. 손님&lt;/p&gt;\n&lt;/body&gt;\n&lt;/html&gt;</code>\n        </deckgo-highlight-code>\n<p>를 작성하도록 한다. 일단은 따라서 쳐보도록 하자.\n위 코드에서 <code class=\"language-text\">th</code> 라는 것을 볼 수 있는데, 이는 제일 윗 코드에서 선언한 <code class=\"language-text\">xmlns:th=\"http://www.thymeleaf.org\"</code> 를 의미하고, 이 선언으로 thymeleaf 문법을 사용할 수 있게 된 것이다.</p>\n<p>그리고 <code class=\"language-text\">&lt;p th:text=\"'안녕하세요. ' + ${data}\">안녕하세요. 손님&lt;/p></code> 에서 <strong>data</strong>는 아까 위의 <code class=\"language-text\">HelloController</code> 에서 작성한 <code class=\"language-text\">model.addAttribute(\"data\", \"hello!!!\");</code> 의 <strong>data</strong>를 의미한다. 이 메소드에서 <strong>\"data\"는 attributeName</strong>이고, <strong>\"hello!!!\"는 attributeValue</strong>가 된다. 이후 일단 서버를 재시작해보자.</p>\n<img src='https://images.velog.io/images/bsu1209/post/4a0e589d-b2e8-461a-840a-922330166e60/image.png' width='70%'>\n위와 같이 /hello로 접속하게 되면, ${data}가 \"hello!!!\"로 치환된 것을 확인할 수 있다.\n<img src='https://images.velog.io/images/bsu1209/post/1a2948e3-36c9-4b08-9223-b3b00f218255/%E1%84%86%E1%85%AE%E1%84%8C%E1%85%A6.drawio%20(1).png' width='80%'>\n<ul>\n<li>\n<p><code class=\"language-text\">localhost:8080/hello</code> 에 <code class=\"language-text\">GET</code> 방식으로 접근하게 되면, 생성한 <code class=\"language-text\">HelloController</code> 안의 statement들을 실행하게 된다.</p>\n<ul>\n<li>이때, <code class=\"language-text\">return hello;</code> 에서 hello는 <code class=\"language-text\">templates/hello.html</code> 의 hello로 매칭되어 해당 html 파일을 렌더링하라는 의미이다. <strong>(ViewName = hello)</strong></li>\n<li>SpringBoot는 기본적으로 <code class=\"language-text\">resources:templates/ + {ViewName} + .html</code> 파일을 찾는다.</li>\n</ul>\n</li>\n</ul>\n<hr>\n<h2>🔍 빌드하고 실행하기</h2>\n<p><strong>꼭 서버를 종료한 후,</strong></p>\n<ol>\n<li><code class=\"language-text\">./gradlew build</code> → \"필요한 lib들을 다운받고 빌드가 수행\"<img src='https://images.velog.io/images/bsu1209/post/48e1f4b1-df00-4c2c-989f-1517a906d4a3/image.png' width='50%'> 이와 같이 뜨면 빌드가 성공된 것이다.</li>\n<li><code class=\"language-text\">cd build/libs</code> → \"해당 폴더에 빌드된 <code class=\"language-text\">jar</code> 파일이 생성됨\"\n이는 스타터로 설정한 <a href=\"#packaging\">Packaging</a> 방식으로 인해 <code class=\"language-text\">jar</code> 파일이 생성된다.<img src='https://images.velog.io/images/bsu1209/post/08360dc5-5146-499b-9910-af1ff9188b35/image.png' width='70%'> 위와 같이 <code class=\"language-text\">hello-spring-0.0.1-SNAPSHOT-plain.jar</code> 이라는 파일도 같이 생성되는데, 이는 Spring-boot 2.5.0 이상부터 생성되는 듯하다.\n이를 없애려면, <code class=\"language-text\">build.gradle</code> 파일 안에 <code class=\"language-text\">jar { enabled = false }</code> 코드를 추가해주고 build를 수행하면 된다.</li>\n<li><code class=\"language-text\">java -jar hello-spring-0.0.1-SNAPSHOT.jar</code>\n<img src='https://images.velog.io/images/bsu1209/post/58a7fe61-93dc-4b38-baa6-e44fe17ca62f/image.png'> 서버가 가동되는 것을 확인할 수 있다.</li>\n</ol>\n<p>이제 빌드된 결과물인 <code class=\"language-text\">hello-spring-0.0.1-SNAPSHOT.jar</code> 만 파일만 실행시키면 서버가 동작할 수 있게 되었다.</p>\n<blockquote>\n<p><code class=\"language-text\">./gradlew clean</code>\n: <code class=\"language-text\">build</code> 폴더가 삭제된다.\n<code class=\"language-text\">./gradlew clean build</code>\n: <code class=\"language-text\">build</code> 폴더를 삭제하고 새로 build 수행</p>\n</blockquote>\n<hr>\n<h2>📕 참고</h2>\n<p><a href=\"https://www.inflearn.com/course/%EC%8A%A4%ED%94%84%EB%A7%81-%EC%9E%85%EB%AC%B8-%EC%8A%A4%ED%94%84%EB%A7%81%EB%B6%80%ED%8A%B8\">스프링 입문-코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술</a></p>\n<p><strong>Spring Boot DevTools</strong><br/>\n:파일 수정 이후 별도로 서버를 재시작할 필요 없이 변경 사항이 적용되도록 해주는 도구\n<img src='https://images.velog.io/images/bsu1209/post/6307ef88-1a2d-45ae-8359-c090b337f5c2/image.png' width='80%'></p>\n<deckgo-highlight-code language=\"java\" terminal=\"carbon\" theme=\"a11y-dark\" line-numbers=\"true\"  >\n          <code slot=\"code\">// application.properties\nspring:\n    devtools:\n        restart:\n            enabled: true\n    thymeleaf:\n        cache: false\n        prefix: file:src/main/resources/templates/</code>\n        </deckgo-highlight-code>\n<p><code class=\"language-text\">Preferences</code> → <code class=\"language-text\">Build, Execution, Deployment</code> → <code class=\"language-text\">Compiler</code> → <code class=\"language-text\">Build project automatically</code> check!</p>","frontmatter":{"title":"📺 1. 프로젝트 환경설정","date":"January 02, 2022","update":"January 02, 2022","tags":["Java","SpringBoot"],"series":"📺 스프링 입문"},"fields":{"slug":"/[스프링입문]1/","readingTime":{"minutes":12.515}}},"seriesList":{"edges":[{"node":{"id":"dff670de-9a25-5abe-9b4f-84af280c0807","fields":{"slug":"/[스프링입문]1/"},"frontmatter":{"title":"📺 1. 프로젝트 환경설정"}}},{"node":{"id":"7c6e6830-1b5c-58ac-9281-1dadf3465ae2","fields":{"slug":"/[스프링입문]2/"},"frontmatter":{"title":"📺 2. 스프링 웹 개발 기초"}}},{"node":{"id":"ffd03b02-aec7-5fe4-9a24-270be1ffa4ce","fields":{"slug":"/[스프링입문]3/"},"frontmatter":{"title":"📺 3. 회원 관리 예제"}}},{"node":{"id":"104a5bbb-2e2c-5770-80ed-c438c39a3e57","fields":{"slug":"/[스프링입문]4/"},"frontmatter":{"title":"📺 4. 스프링 빈과 의존관계"}}},{"node":{"id":"5c16c94d-5e6b-541f-b861-1bbeb45da9f8","fields":{"slug":"/[스프링입문]5/"},"frontmatter":{"title":"📺 5. 웹 MVC 개발"}}},{"node":{"id":"8b5e56c2-f7dd-5d13-92c4-4e18d9df605b","fields":{"slug":"/[스프링입문]6/"},"frontmatter":{"title":"📺 6. 스프링 DB 접근 기술"}}},{"node":{"id":"7012c442-42b4-5c43-8945-85bdce9799cd","fields":{"slug":"/[스프링입문]7/"},"frontmatter":{"title":"📺 7. AOP"}}}]},"previous":{"fields":{"slug":"/[BOJ]1260/"},"frontmatter":{"title":"👩‍💻 1260. DFS와 BFS"}},"next":{"fields":{"slug":"/[스프링입문]2/"},"frontmatter":{"title":"📺 2. 스프링 웹 개발 기초"}}},"pageContext":{"id":"dff670de-9a25-5abe-9b4f-84af280c0807","series":"📺 스프링 입문","previousPostId":"0c712680-130f-5fa5-8c3b-3632dd5d1af0","nextPostId":"7c6e6830-1b5c-58ac-9281-1dadf3465ae2"}},"staticQueryHashes":[]}